body,p,ul,li{
    margin: 0;
    padding: 0;
}
em{
    font-style: normal;
}
li{
    list-style-type: none;
}
input,textarea{
    outline: none;
}
#container{
    width: 400px;
    margin: 30px 80px;
    padding: 10px;
    border: 1px solid #bbb;
    float: left;
}
#box{
    width: 400px;
    border: 1px solid #bbb;
    padding-bottom: 10px;
}
#box .text{
    font-size: 20px;
    font-weight: bold;
    color: #aaa;
    float: left;
    width: 110px;
    margin-right: 15px;
    text-align: right;
}
#top p{
    text-indent: 50px;
    line-height: 60px;
    background: #efefef;
    font-size: 25px;
    border-bottom: 1px solid #bbb;
    color: #666;
}
#username,#content{
    padding: 15px 0;
    margin-left: 15px;
}
input{
    width: 240px;
    height: 27px;
}
textarea{
    width: 240px;
    height: 100px;
}
#submit-btn{
    background: #f99;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: white;
    width: 80px;
    height: 40px;
    margin-left: 140px;
}
#messages{
    width: 600px;
    min-height: 500px;
    margin-top: 30px;
    /*background: #eee;*/
    float: left;
    border: 1px solid #D68C00;
}
#messages-title{
    border-bottom: 2px solid #D68C00;
    padding: 20px 0 5px 20px;
}
#messages-list{
    padding: 0px 20px;
}
#messages-list em{
    cursor: pointer;
    transition:all .5s;
}
#messages-list em:hover{
    transform: rotate(180deg);
}
#messages-list li{
    line-height: 50px;
    border-bottom: 1px solid #ccc;
    overflow: hidden;
}
#messages-list li span{
    float: left;
}
#messages-list li em{
    float: right;
}
.messages-name{
    padding-right: 30px;
}